package com.ad.pet.app.recharge;

import com.ad.pet.common.structure.mvp.AbsView;
import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.models.remote.account.CountDrawTotal;
import com.ad.pet.models.remote.recharge.WithDraw;

/**
 * Created by SEELE on 2019/6/3.
 */

public interface CashMoneyContracts  {

    interface Presenter extends BasePresenter<CashMoneyContracts.View> {

        void getWithDraw();
        void addWithDraw(String type,String no,String name,String amount);
        void getCurrentTotalWithdrawal();

    }

    interface View extends AbsView {

        void getWithDrawSuccess(WithDraw w);
        void addWithDrawSuccess();
        void getCurrentTotalWithdrawalSuccess(CountDrawTotal countDrawTotal);
    }
}
